projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11f07f9
)
range: x and y coordinates of the arrow rendering should be double
author
Cosimo Cecchi
<cosimoc@gnome.org>
Sun, 27 Feb 2011 00:29:08 +0000
(19:29 -0500)
committer
Cosimo Cecchi
<cosimoc@gnome.org>
Thu, 3 Mar 2011 22:48:25 +0000
(17:48 -0500)
To prevent off-by-one rounding errors when drawing them later.
gtk/gtkrange.c
patch
|
blob
|
history
diff --git
a/gtk/gtkrange.c
b/gtk/gtkrange.c
index 624875e43243a777c888ac8a6c1ba959c02376a8..7fc8434d4c5912479b6e14ca441fbff68ec9c82d 100644
(file)
--- a/
gtk/gtkrange.c
+++ b/
gtk/gtkrange.c
@@
-1859,8
+1859,8
@@
draw_stepper (GtkRange *range,
GtkWidget *widget = GTK_WIDGET (range);
gfloat arrow_scaling;
GdkRectangle *rect;
- g
int
arrow_x;
- g
int
arrow_y;
+ g
double
arrow_x;
+ g
double
arrow_y;
gdouble arrow_size, angle;
gboolean arrow_sensitive;